FROM hub.xiaojiaedu.com/basic/java:v1.8.202
ADD target/*.jar /app.jar
ENV  LANG="en_US.UTF-8"
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo Asia/Shanghai >/etc/timezone
ENTRYPOINT ["java","-jar","/app.jar","--spring.config.location=/application-prod.yml"]